package com.spring.crm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 何卓
 * @since 2022-01-21
 */
@Getter
@Setter
@TableName("t_file")
@ApiModel(value = "File对象", description = "")
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("file_id")
    private String fileId;

    @ApiModelProperty("文件url")
    @TableField("file_url")
    private String fileUrl;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("销售机会id")
    @TableField("sales_id")
    private String salesId;

    @ApiModelProperty("上传人ID")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("文件标题")
    @TableField("file_title")
    private String fileTitle;

    @ApiModelProperty("文件类型")
    @TableField("file_type")
    private String fileType;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;


}
